package tech.yunqian.slim.project.service;

import java.util.List;
import java.util.Map;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import lombok.extern.slf4j.Slf4j;
import tech.yunqian.slim.project.domain.ScenarioRule;
import tech.yunqian.slim.project.mapper.ScenarioRuleMapper;

@Slf4j
@Service
public class ScenarioRuleService {
    @Autowired
    private ScenarioRuleMapper alarmRuleMapper;

    public List<ScenarioRule> lookup(Map<String, Object> filters) {
        List<ScenarioRule> alarmRules = alarmRuleMapper.lookup(filters);
        return alarmRules;
    }
}
